package org.example.controller.admin;

import org.example.pojo.Looper;
import org.example.response.ResponseResult;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/admin/looper")
public class LooperApi {
    @PostMapping
    public ResponseResult addLooper(@RequestBody Looper looper) {
        return null;
    }

    @DeleteMapping("/{loopId}")
    public ResponseResult deleteLoop(@PathVariable String loopId) {
        return null;
    }

    @PutMapping("/{loopId}")
    public ResponseResult uploadLoop(@PathVariable String loopId) {
        return null;
    }

    @GetMapping("/{loopId}")
    public ResponseResult getLoop(@PathVariable String loopId) {
        return null;
    }

    @GetMapping("/list")
    public ResponseResult listLoops(@RequestParam("page") int page, @RequestParam("size") int size) {
        return null;
    }
}
